docs: Document more accessible roles
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 02:53:30 +0000 (22:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 02:53:30 +0000 (22:53 -0400)
GtkListView and GtkGridView were missing this as well.

gtk/gtkgridview.c
gtk/gtklistview.c

index 8c24afc9e1d8846e7a6e13c7bc14c596fdc41990..1f3b4c37eff610ea52f3d2ea754e1fa590f59b3d 100644 (file)
  * GtkGridView uses a single CSS node with name gridview. Each child
  * uses a single CSS node with name child. For rubberband selection,
  * a subnode with name rubberband is used.
+ *
+ * # Accessibility
+ *
+ * GtkGridView uses the #GTK_ACCESSIBLE_ROLE_GRID role, and the items
+ * use the #GTK_ACCESSIBLE_ROLE_GRID_CELL role.
  */
 
 typedef struct _Cell Cell;
index ad8f8ea16c1df5175735d5d614e6e1af53db0614..6d1eb3413b565121669df9ddc71b29fc0ac7bb2e 100644 (file)
  * The main listview node may also carry style classes to select
  * the style of [list presentation](ListContainers.html#list-styles):
  * .rich-list, .navigation-sidebar or .data-table.
+ *
+ * # Accessibility
+ *
+ * GtkListView uses the #GTK_ACCESSIBLE_ROLE_LIST role, and the list
+ * items use the #GTK_ACCESSIBLE_ROLE_LIST_ITEM role.
  */
 
 typedef struct _ListRow ListRow;